package home1ess.passport.dao.repository;

import common.pojo.PermissionPO;
import home1ess.passport.pojo.param.UserRegParam;
import home1ess.passport.pojo.po.UserPO;
import home1ess.passport.pojo.po.UserRegPO;

import java.util.List;

public interface IUserRepository {


    UserRegPO selectByPhoneNumber(String phoneNumber);

    Integer save(UserRegPO userRegPO);

    List<PermissionPO> getPermissionsByUserId(Long id);


    void updatePassword(UserRegPO userRegPO);


    UserPO getUserInfoByUserName(String phoneNumber);
}
